package WWW::OpenX::API::Dispatch;
use warnings;
use strict;
use Moose;
use namespace::autoclean;

our $VERSION = sprintf('0.1.%d', q|$Rev: 8 $| =~ /(\d+)/);

has service => (is => 'ro', isa => 'Str', required => 1, default => undef );
has require_auth => (is => 'ro', isa => 'Bool', required => 0, default => 1 );
has no_implode => (is => 'ro', isa => 'Bool', required => 0, default => 0 );

__PACKAGE__->meta->make_immutable;

1;
=pod ------------------------------------------------------------------------------------------

=head1 WWW::OpenX::API::Dispatch

A small container object for a dispatch record. A dispatch record contains the function call
that needs to be done on OpenX, the service endpoint it's c alled at, and whether or not
authentication is required. 

=head1 SYNOPSIS
    
    This object is for internal use only

=head1 BUGS

Please report any bugs or feature requests to C<bug-www-openx-api at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-OpenX-API>.  I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WWW::OpenX::API::Dispatch

=head1 SEE ALSO

L<WWW::OpenX::API>, L<WWW::OpenX::API::Dispatch::Table>

=head1 LICENSE AND COPYRIGHT

Copyright 2010 Ben van Staveren.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991 or at your option
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

A copy of the GNU General Public License is available in the source tree;
if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

=cut ------------------------------------------------------------------------------------------


